package com.pioneer.web.book.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.pioneer.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @TableName category
 */
@TableName(value ="category")
@Data
@EqualsAndHashCode(callSuper = true)
public class Category extends BaseEntity {
    /**
     * 分类ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 分类名称
     */
    @TableField(condition = SqlCondition.LIKE)
    private String categoryName;

}
